/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fatclientnbp;

/**
 *
 * @author smulle
 */
public class Month {
    private static String JAN = "Januari";
    private static String FEB = "Februari";
    private static String MAR = "Mars";
    private static String APR = "April";
    private static String MAY = "May";
    private static String JUN = "June";
    private static String JUL = "Juli";
    private static String AUG = "August";
    private static String SEP = "September";
    private static String OKT = "Oktober";
    private static String NOV = "Novermber";
    private static String DEC = "December";
    
    
    
    private int month;
    private String month_string;
    
    
    
    public Month(int month){
        this.month = month;
        switch (month) {
            case 1:
               month_string = JAN;
               break;
            case 2:
               month_string = FEB;
               break;
            case 3:
                month_string = MAR;
                break;
            case 4:
                month_string = APR;
                break;
            case 5:
                month_string = MAY;
                break;
            case 6: 
                month_string = JUN;
                break;
            case 7:
               month_string = JUL;
               break;
            case 8:
               month_string = AUG;
               break;
            case 9:
                month_string = SEP;
                break;
            case 10:
                month_string = OKT;
                break;
            case 11:
                month_string = NOV;
                break;
            case 12: 
                month_string = DEC;
                break;
            default: 
                   month_string = "invalid";
                   break;
        }
       
    }
    
    public String toString(){
        return month_string;
    }

    public int getMonth() {
        return month;
    }
    
    

}
